<extend NAME="Base/common"/>
<block name="right">

    <div class="main-container">
        <div class="padding-md">
            <div class="row">
                <div class="col-sm-12">
                    <div class="page-title">
                         用户日志
                    </div>
                </div>
            </div>
            <div class="col-sm-12 row chach">
                <form action="{:U('Log/action')}" method="get" id="search">
                    <select class="select_ct" name="tag" onchange="submitForm('search')">
                        <option value="" <eq name="search" value="">selected="selected"</eq>>全部</option>
                        <option value="user_login"  <eq name="search" value="user_login">selected="selected"</eq>>登录</option>
                        <option value="user_logout"   <eq name="search" value="user_logout">selected="selected"</eq>>退出</option>
                        <option value="user_changePassword"   <eq name="search" value="user_changePassword">selected="selected"</eq>>修改密码</option>
                        <option value="modify_information"   <eq name="search" value="modify_information">selected="selected"</eq>>个人信息修改</option>
                    </select>
                </form>
            </div> 
            <div class="row">
                <div class="col-lg-12">
                    <div class="smart-widget widget-green">
                        <div class="smart-widget-header row ">
                            <span class="smart-widget-option">
                                <span class="refresh-icon-animated">
                                    <i class="fa fa-spinner fa-spin" style="color:#fff"></i>
                                </span>
                                <a href="#" class="widget-toggle-hidden-option">
                                </a>
                                <a href="#" class="widget-collapse-option" data-toggle="collapse">
                                </a>
                                <a href="#" class="widget-refresh-option">
                                </a>
                            </span>
                        </div>
                        <div class="smart-widget-inner table-responsive">
                            <div class="smart-widget-hidden-section">
                                <ul class="widget-color-list clearfix">
                                    <li style="background-color:#20232b;" data-color="widget-dark"></li>
                                    <li style="background-color:#4c5f70;" data-color="widget-dark-blue"></li>
                                    <li style="background-color:#23b7e5;" data-color="widget-blue"></li>
                                    <li style="background-color:#1fb5ac;" data-color="widget-green"></li>
                                    <li style="background-color:#edbc6c;" data-color="widget-yellow"></li>
                                    <li style="background-color:#fbc852;" data-color="widget-orange"></li>
                                    <li style="background-color:#e36159;" data-color="widget-red"></li>
                                    <li style="background-color:#7266ba;" data-color="widget-purple"></li>
                                    <li style="background-color:#f5f5f5;" data-color="widget-light-grey"></li>
                                    <li style="background-color:#fff;" data-color="reset"></li>
                                </ul>
                            </div>
                            <table class="table table-striped no-margin">
                                <thead>
                                    <tr>
                                        <th style="width: 60px;">序号</th>
                                        <th style="width: 150px;">时间</th>
                                        <th>事件</th>
                                    </tr>
                                </thead>
                                <tbody class="cy_takeyouflytb">
                                    <empty name="_list">
                                        <tr>
                                            <td colspan="3">对不起暂时没有数据</td>
                                        </tr>
                                        <else/>
                                        <assign name="num" var="1">
                                        <volist name="_list" id="vo" key="k">
                                        <tr>
                                            <td>{$k+$num}</td>
                                            <td title="{$vo.create_time|date='Y-m-d H:i:s',###}">{$vo.create_time|date="Y-m-d",###}</td>
                                            <td>{$vo.remark}</td>
                                        </tr>
                                        </volist>
                                    </empty>
                                </tbody>
                            </table>
                            <div class="choose-page row">
                                {$_page}
                            </div>
                        </div><!-- ./smart-widget-inner -->
                    </div><!-- ./smart-widget -->
                </div><!-- ./col -->
            </div><!-- ./row -->
        </div><!-- ./padding-md -->
    </div><!-- /main-container -->
</block>
<block name="script">
    <script>
        $(function(){
            highlight_nav2('{:U('Log/action')}');
        })

        function submitForm(form){
            var txtform = '#'+form;
            $(txtform).submit();
        }
    </script>
</block>